// 自己的重置样式代码，公用样式代码
// 重置样式
* {
    // 从边框开始计算
    box-sizing: border-box;
    // color: @app-font-color;
}

html,
body,
#app {
    width: 100%;
    height: 100%;
    font-size: 14px;
}

body {
    height: 100%;
    min-width: 1240px;
    font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif
}

// 去除边距
ul,
h1,
h3,
h4,
p,
dl,
dd {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: #333;
    outline: none;
}

i {
    font-style: normal;
}

// input的样式
input[type="text"],
input[type="search"],
input[type="password"],
input[type="checkbox"] {
    padding: 0;
    outline: none;
    border: none;
    -webkit-appearance: none;

    &::placeholder {
        color: #ccc;
    }
}

img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

ul {
    list-style: none;
}

table {
    border-collapse: collapse;
}

#app {
    // 默认背景色
    background: #f5f5f5;
    //不能被选中
    user-select: none;
}

.container {
    //margin: 0 auto;
    position: absolute;
    top: @app-top-height;
}

.ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ellipsis-2 {
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

// 左浮动
.fl {
    float: left;
}

// 右浮动
.fr {
    float: right;
}

// 清除浮动
.clearfix:after {
    content: ".";
    display: block;
    visibility: hidden;
    height: 0;
    line-height: 0;
    clear: both;
}

.upper-ui {
    //z-index: 999;
    z-index: 1000;
}

.font-red {
    color: red;
}

.font-warning {
    color: rgb(252, 162, 0);
}

// 左侧面板
.left-panel {
    border-radius: 5px;
    position: absolute;
    //border: crimson solid 2px;
    height: @app-container-height;
    width: @app-container-width;
    background-color: rgba(0, 18, 31, 0.55);
    // left: @app-container-both-sides;
    bottom: @app-container-bottom;
    top: @app-top-height;
    // padding: 0.8%;
}

// 右侧面板
.right-panel {
    border-radius: 5px;
    position: absolute;
    //border: crimson solid 2px;
    height: @app-container-height;
    width: @app-container-width;
    background-color: rgba(0, 18, 31, 0.55);
    right: 0%;
    bottom: @app-container-bottom;
    top: @app-top-height;
    // padding: 0.8%;
    // padding-top: 1.5%;
}